System and method for replicating data

ABSTRACT

According to the present invention, techniques for controlling copying of logical volumes within a computer storage system are provided. A representative embodiment includes a plurality of storage devices controlled by a control unit, one or more processors, and a buffer memory for temporarily storing data read from the storage devices within the control unit. The storage devices can be addressed as logical volumes.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.10/635,764, filed on Aug. 5, 2003, which is a continuation of U.S.patent application Ser. No. 09/528,416, filed Mar. 17, 2000, whichclaims priority from Japanese Patent Application Reference No. 11-075174filed Mar. 19, 1999, the entire contents of which is incorporated hereinby reference for all purposes.

BACKGROUND OF THE INVENTION

The present invention relates generally to computing systems and morespecifically to techniques for controlling copying of logical volumeswithin a computer storage system.

Modern computing systems can comprise a plurality of logical volumeswithin a mass storage system. Mass storage systems can be implemented ina variety of form factors, including DASD, optical storage media, tapestorage media, and the like. Often, it is desirable to perform copies ofcontent from one logical volume to another logical volume in a massstorage system. A conventional method for performing such a copy isknown as a REMOTE COPY function. In the REMOTE COPY function, hostchannels are used for transferring the copied data. A control unit,behaving as if it were a processing unit, sends data stored in a logicalvolume via a host channel. The data is received by another host channeland written to the logical volume. Thus, a copy of the logical volume iscreated.

When the copy function is executed in one control unit, a plurality ofhost channels is employed. Therefore, the number of host channelsavailable for the normal host connection is decreased. Such conventionalmethods typically burden computational resources, such as host channels,during the copy process.

What is really needed are techniques for copying information from onelogical volume to another without burdening host channel resources forconnecting between the control unit and processing units.

SUMMARY OF THE INVENTION

According to the present invention, techniques for controlling copyingof logical volumes within a computer storage system are provided. Arepresentative embodiment includes a plurality of storage devicescontrolled by a control unit, one or more processors, and a buffermemory for temporarily storing data read from the storage devices withinthe control unit. The storage devices can be addressed as logicalvolumes.

In an exemplary embodiment, the invention provides a method for creatinga copy on a second logical volume of data stored on a first logicalvolume. The method can comprise a variety of steps, such as specifying arelationship between two or more logical volumes. The method can alsoinclude creating a copy of data in a specified first logical volume intosaid second logical volume. Creating such a copy can include steps ofcopying data from the first logical volume to a first location in abuffer memory located within a control unit. Copying can be performed bythe control unit substantially independently of processor control. Then,data can be copied from the first location in the buffer memory to asecond location in the buffer memory. Subsequently, data from the secondlocation in the buffer memory can be copied to the second logicalvolume. This copying can be performed by the control unit substantiallyindependently of processor control, also. As used herein, substantiallyindependently of processor control can include performing copyprocessing at the control unit level without necessitating intermediatecommunication between a command start from the processor to the controlunit and a command complete signal from the control unit to theprocessor.

In another embodiment, the invention provides a computer systemcomprising a plurality of devices. A plurality of storage devicescontrolled by one or more control units can be part of the computersystem. One or more processing units operable to access the control unitor units can also exist in the computer system. A buffer memory operableto temporarily store data read from the storage devices within thecontrol unit can also be part of the computing system. The storagedevices can be addressed as one or more logical volumes. The controlunit is able to establish a relationship between at least two logicalvolumes (i.e., a first logical volume and a second logical volume)located in the storage devices. The control unit can create a copy ofdata in the first logical volume into the second logical volume. Suchcreating a copy can include copying data from the first logical volumeto a first location in the buffer memory. Then, the data can be copiedfrom the first location in the buffer memory to a second location in thebuffer memory, changing meta-data indicating the device that may accessthe data to reflect the second logical volume. Thereupon, the data canbe copied from the second location in the buffer memory to the secondlogical volume. These operations by the control unit can be performedsubstantially independently of the processing units. In a representativeembodiment, the buffer can comprise approximately 10 Gigabytes, forexample.

In a further embodiment, the invention provides a computer programproduct for controlling the copying of information from a first logicalvolume to a second logical volume in a computer system. The computerprogram product can comprise a computer readable storage mediumcontaining a variety of program code. Code for specifying a relationshipbetween the first logical volume and the second logical volume can bepart of the computer program product. The product can also include codefor creating a copy of data in the first logical volume into the secondlogical volume. The code for creating a copy can comprise variousprogram codes. Program code for copying data from the first logicalvolume to a first location in a buffer memory can be part of the programproduct. The product can also include code for copying the data from thefirst location in the buffer memory to a second location in the buffermemory. Code for copying the data from the second location in the buffermemory to the second logical volume can also part of the programproduct. The codes for copying the data from the first location in thebuffer memory to the second location in the buffer memory is executed bya control unit substantially independently of a central processing unit.

Select embodiments according to the present invention can be operablewith an arrayed disk subsystem. Data may be readily moved to a logicalvolume having different access characteristics by creating a pair amonglogical volumes having different RAID levels. Specific embodimentsaccording to the present invention can include a function for creatingthe data copy, such that, a single logical volume is defined as aprimary volume, plural different logical volumes are defined assecondary volumes, and each pair is defined as a different pair.

Numerous benefits are achieved by way of the present invention overconventional techniques. Some embodiments according to the presentinvention can create a copy of specified logical volume withoutoccupying host channels. In such embodiments, control unit load can bereduced. Many embodiments according to the present invention can createa copy at a specified time. Further, in specific embodiments, data in asecondary volume can be used as a series of the historical records ofthe primary volume switching the secondary volumes one after another.Many embodiments enable data to be replicated more easily, quickly andwith improved system loading than heretofore known methods. These andother benefits are described throughout the present specification. Afurther understanding of the nature and advantages of the inventionherein may be realized by reference to the remaining portions of thespecification and the attached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a simplified block diagram of a representativeexample computing system in a specific embodiment according to thepresent invention;

FIG. 2 illustrates a simplified diagram of a representative commandoperation in a computing system such as that of FIG. 1 in a specificembodiment according to the present invention;

FIG. 3 illustrates a simplified diagram of representative informationoperable in a specific embodiment according to the present invention;

FIG. 4 illustrates a simplified diagram of representative informationoperable in a specific embodiment according to the present invention;

FIG. 5 illustrates a simplified flow chart of representative copyprocessing in a specific embodiment according to the present invention;

FIG. 6 illustrates a simplified flow chart of representative elementalcopy processing in a specific embodiment according to the presentinvention;

FIG. 7 illustrates a simplified diagram of a representative commandblock format in a specific embodiment according to the presentinvention;

FIG. 8 illustrates a simplified diagram of a representative pair statustransition in a specific embodiment according to the present invention;

FIG. 9 illustrates a simplified flow chart of representative processingin a specific embodiment according to the present invention;

FIGS. 10A-10B illustrate simplified diagrams of example datareplications in a representative computing system in a specificembodiment according to the present invention; and

FIGS. 11A-11G illustrate representative display screens in a specificembodiment according to the present invention.

DESCRIPTION OF THE SPECIFIC EMBODIMENTS

The present invention provides techniques for controlling copying oflogical volumes within a computer storage system. Embodiments accordingto the present invention can be operable on a wide range of storagedevices and systems, for example. Some embodiments can support a buffermemory size of 10 Gigabytes, for example. However, embodiments cansupport other buffer memory configurations as well. Embodiments can beoperable with S/390™, UNIX™, Windows NT™ platforms for example. Manyother hardware and software platforms are also suitable for implementingembodiments according to the present invention.

FIG. 1 illustrates a simplified block diagram of a representativeexample computing system in a specific embodiment according to thepresent invention. This diagram is merely an illustration and should notlimit the scope of the claims herein. One of ordinary skill in the artwould recognize other variations, modifications, and alternatives. FIG.1 illustrates a control unit 102 comprising a cache memory 107, achannel adapter (“CHA”) 109, a disk adapter (“DKA”) 108, a shared memory110, for storing control information, for example, and a bus 120connecting the above mentioned components. A plurality of storagedevices 103, 104, 105, and 106 can be coupled to control unit 102.Further, control unit 102 can be coupled to, and can execute commandsfrom, a processing unit 101. Control information can be transferred fromthe shared memory 110 to the channel adapter 109 or to the disk adapter108 via the bus.

FIG. 2 illustrates a simplified diagram of a representative commandoperation in a computing system such as that of FIG. 1 in a specificembodiment according to the present invention. This diagram is merely anillustration and should not limit the scope of the claims herein. One ofordinary skill in the art would recognize other variations,modifications, and alternatives. FIG. 2 illustrates representativecommand set comprising a command name 210, which can be a create paircommand 211, a delete pair command 212, a copy command 213 and are-synchronize command 214, and the like.

Create pair command 211 can be used to establish a pair by specifying aprimary volume and a secondary volume. Embodiments can perform aninitial copy operation to copy data from the specified primary volume tothe specified secondary volume. The primary volume continues to beaccessible to applications during the initial copy. In a specificembodiment, a pace may be selected for initial copy operations. Pace canbe slow, indicating copy of one track at a time, medium, for threetracks at a time, and fast, for fifteen tracks at a time, for example.Slower paces can minimize use of system resources, while faster pacescan accomplish the copy operation sooner. Other embodiments using otheror different copy speeds will be readily apparent to one of ordinaryskill in the art without departing from the scope of the claimedinvention.

In a representative embodiment according to the present invention,command processing can perform various actions, such as actions 231-263illustrated in FIG. 2, as well as update a command status. FIG. 8illustrates a plurality of commands and corresponding status changes ina particular embodiment according to the present invention. For example,a delete pair command 212 can be used to release a pair. Delete paircommand processing halts updates to the secondary volume and changespair status to “no pair” status 801 in FIG. 8. A pair can be deleted anytime after the pair has been created. Once a pair is deleted, thesecondary volume becomes available for write operations upon beingunreserved.

Copy command 213 can be used to create a copy to a secondary volume. Ina presently preferred embodiment, the copy command can cause updatespending for the specified secondary volume to be made. Upon invocation,the pair status changes to “paired/copy in progress” status 803. Oncecopy processing has completed, the status can change to “paired andcopied” status 804. An instance of pair tracking information, indicatingpair number, primary and secondary volumes and the like, is added topair information 300 in order to represent the newly created pair. Thesecondary volume is then made available for read/write access byapplications. The primary volume continues to be accessible toapplications during create pair command processing. As with create paircommand 211 processing, a pace may be selected for update copyoperations from among slow, medium and fast.

Re-synchronize pair command 214 can bring a status transition to “pairedand not copied” status again after a copy is created. In a presentlypreferred embodiment, re-synchronize pair processing can compare thesecondary volume track map with the primary volume track map in controlinformation 401 of FIG. 4 in order to determine all unequal tracks.Then, unequal tracks can be copied from the primary volume to thesecondary volume. As with create pair command 211 processing, a pace maybe selected for the re-synchronize copy operations from among slow,medium and fast.

FIG. 3 illustrates a simplified diagram of representative information ina specific embodiment according to the present invention. This diagramis merely an illustration and should not limit the scope of the claimsherein. One of ordinary skill in the art would recognize othervariations, modifications, and alternatives. FIG. 3 illustratesrepresentative pair information 300 comprising a pair number 301, a pairstatus 302, a primary volume number 303, a secondary volume number 304,and a copy pointer 305. Pair information 300 can be stored in sharedmemory 110, for example. Other embodiments can include otherinformation. Further, some embodiments may not comprise all of theelements of pair information 300.

FIG. 4 illustrates a simplified diagram of representative information ina specific embodiment according to the present invention. This diagramis merely an illustration and should not limit the scope of the claimsherein. One of ordinary skill in the art would recognize othervariations, modifications, and alternatives. FIG. 4 illustratesrepresentative control information 401. Control information 401 canfacilitate the tracking of inequalities among data sets in a pair. In aparticular embodiment, control information 401 comprises an arraysearchable by pair number 301, for example. Entries in controlinformation 401 can comprise a set of the inequality information bits,in this embodiment. An inequality information bit can be reset to valueof zero (“0”) if the data in corresponding tracks of the primary volumeand the secondary volume is equal, and set to a value of one (“1”) ifthe data is made unequal. Control information 401 can be stored inshared memory 110, for example.

FIG. 5 illustrates a simplified flow chart of representative copyprocessing in a specific embodiment according to the present invention.This diagram is merely an illustration and should not limit the scope ofthe claims herein. One of ordinary skill in the art would recognizeother variations, modifications, and alternatives. FIG. 5 illustratesrepresentative copy command processing 500. Copy command processing 500can be initiated responsive to receiving a create pair command 211 orcreate copy command 213, with a pair number as input parameters, forexample. In a decisional step 501, the control unit searches pairinformation 300 for an entry having the same pair number as specified inthe input information. Once a suitable entry is located, the pair status302 of the entry is checked and a determination is made whether the pairstatus is “paired and not copied” status 802. If the pair status is not“paired and not copied” status 802, a determination is made that thecopy command should not continue and copy processing is terminated. Ifthe pair status is “paired and not copied” status 802, then in a step502, an elemental copy processing 600 is initiated with the pair numberas an input parameter. After elemental copy processing 600 completes,then in a decisional step 503 a determination is made whether anyfurther copy processing is to be performed. In a specific embodiment,decisional step 503 can comprise checking a copy pointer 305 for a matchwith the maximum address of the logical volume. If the copy pointer 305does not match the maximum address, the copy processing is determined tobe incomplete and processing continues by repeating step 501. Otherwise,if a match is found, then no further copying remains and processingcontinues with a step 504. In step 504, the pair status 302 is changedto “paired and copied” status and copy processing is complete.

FIG. 6 illustrates a simplified flow chart of representative elementalcopy processing in a specific embodiment according to the presentinvention. This diagram is merely an illustration and should not limitthe scope of the claims herein. One of ordinary skill in the art wouldrecognize other variations, modifications, and alternatives. FIG. 6illustrates elemental copy processing 600. Elemental copy processing 600includes a step 601, in which a control unit searches pair information300 for an entry having the same pair number as specified in the inputinformation. Then, in a step 601, the control unit can fetch the copypointer 305 related to the selected entry. Next, in a step 602, thecontrol unit searches control information 401 for data having aninequality bit set to a value of one (“1”) using the address specifiedby the copy pointer 305 fetched in step 601. Next, in a step 603, thecontrol unit reads the data referred to in step 602 from the primaryvolume and stores it in cache memory 107. In a step 604, the data storedin the cache memory in step 603 is copied to another location in thecache memory 107 and the logical volume number included in the copieddata is changed to the secondary volume number 304 from the primaryvolume number 303. Then, in a step 605, the data copied in step 604 iswritten to the secondary volume. In a step 609, the inequality bitsrelated to the data written to the secondary volume are reset to a valueof zero (“0”). Next, in a step 606, the copy pointer 305 is advanced byan amount corresponding to the amount of data written to the secondaryvolume. In a step 607, the copy pointer modified in step 606 is storedin the pair information 300, the elemental copy processing is completed,and processing returns to the caller in a step 608.

FIG. 7 illustrates a simplified diagram of a representative commandblock format in a specific embodiment according to the presentinvention. This diagram is merely an illustration and should not limitthe scope of the claims herein. One of ordinary skill in the art wouldrecognize other variations, modifications, and alternatives. FIG. 7illustrates a representative command block comprising a command code701, a primary volume number 702, and a secondary volume number 703.When a control unit 102 receives a command block, it searches pairinformation 300 for pair entries having the same combination of primaryvolume number 303 and secondary volume number 304 as that of the primaryvolume number 702 and secondary volume number 703 specified in thecommand block. The control unit obtains the pair status 302 from thisentry and initiates the processing shown in FIG. 2 based upon thecommand code 701 stored in command block 700.

For example, if the status of the pair specified by a create paircommand 211 is “no pair” status 221, the control unit initiates create anew pair processing 231. In a specific embodiment, an empty entry isassigned to the pair information 300. A pair comprising a primary volumenumber and a secondary volume number specified in the create paircommand 211 can be set into the area of primary volume number 303 andthe area of secondary volume number 304 in the pair information 300respectively. A copy pointer 305 is initialized, and then copy process500 is initiated.

If the pair specified in create pair command 211 is in a status otherthan “no pair” status 221, the control unit does nothing. If the pairspecified in a delete pair command 212 has “no pair” status 221, thecontrol unit does nothing. If the pair specified in a delete paircommand 212 is in paired status 222 or 223, the control unit initializesthe entry of the pair information 300 corresponding to the specifiedpair.

If the pair specified by a create copy command 213 is in “no pair”status 221, the control unit does nothing. If the pair specified in acreate copy command 213 is in “paired and not copied” status 222, thecontrol unit sets the inequality bit in the control information table401 to a value of one (“1”) for the data of the specified volume. Then,the control unit initializes the copy pointer 305, and invokes the copyprocessing 500. If the pair specified by a create copy command 213 is in“paired and copied” status 223, the control unit does nothing.

If the pair specified by re-synchronize pair command 214 is in “no pair”status 221, the control unit does nothing. If the pair specified byre-synchronize pair command 214 is in “paired and not copied” status222, the control unit does nothing. If the pair specified by are-synchronize pair command 214 is in “paired and copied” status 223,the control unit changes the current pair status to “paired and notcopied” status 222.

FIG. 8 illustrates a representative pair status transition diagram forpair status 302 in a typical entry of pair information 300 in a specificembodiment according to the present invention. This diagram is merely anillustration and should not limit the scope of the claims herein. One ofordinary skill in the art would recognize other variations,modifications, and alternatives. In FIG. 8, a “no pair” status 801indicates that a pair has not been established. A “paired and notcopied” status 802 indicates that a pair has been established but a copyto the secondary volume has not been initiated yet. A “paired and copyin progress” status 803 indicates that copy processing to the secondaryvolume is being executed. A “paired and copied” status 804 indicatesthat copy to the secondary volume is complete.

A delete pair command 212 causes a status transition to “no pair” status801 from any status. A create pair command 211 causes a statustransition to “paired and not copied” status 802 from “no pair” status801. A create copy command 213 causes a status transition to “paired andcopy in progress” status 803 from “paired and not copied” status 802.Copy processing 500 completion causes a status transition to “paired andcopied” status 804 from “paired and copy in progress” status 803. Are-synchronize pair command 214 causes a status transition to “pairedand not copied” status 802 from “paired and copied” status 804.

FIG. 9 illustrates a simplified flow chart of representative changerequest processing in a specific embodiment according to the presentinvention. This diagram is merely an illustration and should not limitthe scope of the claims herein. One of ordinary skill in the art wouldrecognize other variations, modifications, and alternatives. A requestto change the data in a primary volume may be made during a copyprocess, for example. FIG. 9 illustrates a step 901, in which a controlunit, such as control unit 102 of FIG. 1, for example, searches the pairinformation 300 for entries having the same primary volume number as thevolume number specified in the input information for the change request.In a step 902, the control unit fetches the pair status 302 from theentry corresponding to the pair number obtained in step 901 and checksif the pair status is in “paired and copy in progress” status 803.

If the status is not “paired and copy in progress” status 803, then thecontrol unit executes a normal write processing in a step 909.Otherwise, if the status is “paired and copy in progress” status 803,then control unit processing continues with a step 903. In step 903, thecontrol unit searches the control information 400 corresponding to thedata to be modified as requested by the processing unit 101. The controlunit can perform this searching using the pair number obtained in step901. Once located, the control unit checks the corresponding inequalitybit for a value of one (“1”). If the bit does not have a value of one,then the control unit processing continues with step 909, which executesnormal write processing. Otherwise, if the bit is a one, then thecontrol unit processing continues with a step 904. In step 904, the datato be modified is read from the primary volume into the cache memory.Then, in a step 905, the data read into the cache memory in step 904 iscopied in the buffer memory for the secondary volume and the logicalvolume number included in the copied data is changed to the secondaryvolume number 304 from the primary volume number 303. Then, in a step906, the data copied in step 905 is written to the secondary volume.Next, in a step 907, the inequality bit corresponding to the datawritten to the secondary volume is reset to zero (“0”). In step 909, thecontrol unit writes the data to be transferred to the primary volume.

FIG. 10A illustrates a simplified block diagram of a representativeexample of copying data between logical volumes in a specific embodimentaccording to the present invention. This diagram is merely anillustration and should not limit the scope of the claims herein. One ofordinary skill in the art would recognize other variations,modifications, and alternatives. FIG. 10A illustrates a control unit1002 comprising a cache memory 1007, a channel adapter (“CHA”) 1009, adisk adapter (“DKA”) 1008, which are interconnected by a bus (notshown). A plurality of storage devices 1003 and 1004 can be coupled tocontrol unit 1002 via disk adapter 1008, and storage devices 1005 and1006 can be coupled to control unit 1002 via disk adapter 1010. Further,control unit 1002 can be coupled to, and can execute commands from, aprocessing unit 1001. Control information can be transferred from ashared memory (not shown) to the channel adapter 1009 or to the diskadapters 1008 and 1010 via the bus.

Arrow number one indicates a host write command sent from the processor1001 to control unit 1002. Arrow two illustrates a device end that issent from channel adapter 1009 to processor 1001. Disk adapter 1008performs a copy of data from primary logical volume 1003 into a firstlocation 1300 in cache memory 1007, as indicated by arrow three.Thereupon, a second copy of the data is made into a second location 1302in cache memory 1007 and the logical volume number included in thecopied data is changed from the primary volume number to the secondaryvolume number, as indicated by arrow four. As indicated by arrows fiveand six, the data is copied by disk adapter 1010 into storage device1006 in order to complete the copy.

FIG. 10B illustrates a simplified block diagram of a representativeexample of copying data between locations in a cache memory in aspecific embodiment according to the present invention. This diagram ismerely an illustration and should not limit the scope of the claimsherein. One of ordinary skill in the art would recognize othervariations, modifications, and alternatives. FIG. 10B illustrates anaddress change unit 1020, which in a representative embodiment can be adata recovery and reconstruction (DRR) unit, for example, having abuffer 1021, a cache 1022, a first physical device 1024 and a secondphysical device 1026. In a particular embodiment, address change unit1020 can be located within a disk adapter unit, such as disk adapter 108of FIG. 1, for example. First physical device 1024 and second physicaldevice 1026 can be of many types of storage devices, such as storagedevices 103, 104, 105 and 106 of FIG. 1, for example. Cache 1022 can becache memory 107, for example. Data can be comprise a user data section1027, a logical address section 1029 and a check code section 1031, forexample.

In a specific embodiment according to the present invention, a copyprocess can execute on DKA processors, for example. A first cachelocation 1022 a and a second cache location 1022 b can be secured incache 1022, for example, to correspond to the first physical device 1024and second physical device 1026, respectively. A command can be issuedto address change unit 1020 to perform a copy of data stored in firstphysical device to a second physical device. Arrows 1, 2, 3 and 4illustrate processing of such a command in a representative embodiment.Arrow 1 indicates a copy of the data from the first physical device 1024into a first cache location 1022 a. Then, as indicated by arrow 2, thedata is moved from first cache location 1022 a into buffer 1021. Whiledata is contained in buffer 1021, a logical address, LA, portion withinthe data can be changed from indicating a device number (DEV) of firstphysical device 1024 to a device number of second physical device number1026. A check code, CD, which can be parity or other type of check data,can be updated to reflect the change in the LA. Arrow 3 illustratescopying of the data from the buffer 1021 into a second location 1022 bwithin cache 1022. Arrow 4 indicates a copy of the information from thesecond location 1022 b in cache 1022 into second physical device 1026.

FIGS. 11A-11G illustrate representative display screens in a specificembodiment according to the present invention. FIG. 11A illustrates arepresentative user interface screen 1500 having a display modeselection area 1501. This diagram is merely an illustration and shouldnot limit the scope of the claims herein. One of ordinary skill in theart would recognize other variations, modifications, and alternatives.Display mode selection area 1501 enables the user to select either avolume display mode, such as illustrated by FIG. 11A, or a pair displaymode, such as illustrated by FIG. 11B, using a selection buttonmechanism. A port selection field 1502 enables the user to specify adesired port, as well as all ports. A volume display control area 1503becomes active when volume display mode is selected in display modeselection area 1501. Volume display control area 1503 enables the userto “filter” the volumes displayed in a volume list display area 1504.Filtering can be performed by reserve attribute and by pair condition,for example. An attribute reserve box 1505 enables the user to displayreserved or unreserved volumes. Furthermore, volume pair/no pairselection boxes 1506 enable the display of paired and/or non-pairedvolumes. When volume display mode is selected in display mode selectionarea 1501, the volume display area 1504 lists installed volumes (LUs) onthe selected port and displays information for each volume. Volumedisplay area 1504 provides information about storage. In a presentembodiment, such information can include a port identifier, comprising acluster and channel number, for each volume. A target identifier,including an LU number, for each volume can also be included in displayarea 1504. Further, display area 1504 can also include a volume number,comprising a control unit and logical device identifier for each volume,a number of pairs formed with the volume. A status of the volume,including normal, blocked, format, correct, copying, or unknown, a ddevice emulation type (e.g., OPEN-3, OPEN-9), and a storage capacity ofthe volume can also be displayed.

A pair display control area 1507 enables the user to “filter” the pairsdisplayed in the volume display area 1504 by pair status. Pair statuscan include simplex, pending, duplex, split, re-sync, suspend,SP-Pending, for example. A Define status display area 1508 provides adisplay of DASD usage, including the total number of open systemvolumes, total and maximum number of reserved volumes and total andmaximum number of pairs.

A plurality of buttons along the right side of the screen of FIG. 11Aenable the user to perform the following operations. A Pair Statusbutton 1510 displays the pair status for the selected volume(s)/pair(s).A Stat&History button 1511 displays the pair status and history for theselected volume(s)/pair(s). An Add Pair button 1512 enables new pairs tobe added. A Delete Pair button 1513 allows pairs to be deleted. SuspendPair button 1509 enables suspending of a pair. A Split Pair button 1514allows the user to copy the contents of a source logical volume to atarget logical volume in a pair. A Re-sync Pair button 1515 enables theuser to re-synchronize pairs. An Attribute button 1516 enables theset/reset of reserve attributes. A T-VOL Path button 1517 displays thesecondary logical volume SCSI paths for the selected pair(s). A Refreshbutton 1518 updates the information displayed. An Exit button 1519returns to a previous panel.

FIG. 11B illustrates a representative volume list display area in aparticular embodiment according to the present invention. This diagramis merely an illustration and should not limit the scope of the claimsherein. One of ordinary skill in the art would recognize othervariations, modifications, and alternatives. FIG. 11B illustrates volumedisplay area 1504 displaying information about pairs. Information suchas port identifiers, logical unit number, control unit numbers andlogical device identifiers and volume status can be displayed for bothprimary and secondary volumes. Additionally, a pair status can bedisplayed for the volume pair.

FIG. 11C illustrates a representative panel for adding a pair in aparticular embodiment according to the present invention. This diagramis merely an illustration and should not limit the scope of the claimsherein. One of ordinary skill in the art would recognize othervariations, modifications, and alternatives. FIG. 11C illustrates addpair dialog panel 1520 that can be opened by selecting Add Pair button1512 on screen 1500 of FIG. 11A. Panel 1520 displays the primary(“S-VOL”) and secondary (“T-VOL”) information for the pair(s) beingadded. In a present embodiment, information can include a port, a TID, aLUN, a CU image, an LDEV ID, volume status and emulation type. Thesecondary volume corresponding to each primary volume can be displayedonce the primary volume has been selected. The user can select asecondary volume (i.e., the T-VOL(s)) for each primary volume (i.e., theS-VOL) by highlighting the primary volume in display area 1521, thenscrolling through a list of secondary volumes within the volume displayarea 1522. The user can select a copy pace for adding the pairs usingcopy pace selection pull down 1523. Copy pace can be slow (one track ata time), medium (three tracks at a time) or fast (fifteen tracks at atime).

Volume display area 1522 displays detailed volume information for aselected pair, including S-VOL ID (port, TID: LUN, CU: LDEV), storagecapacity, and number of existing pairs. A T-VOL display area 1524,within volume display area 1522, enables selection of a secondary volumeautomatically or manually. When Auto is selected, the SVP selects thesecondary volume from the set of reserved volumes by LDEV ID (inascending order, lowest to highest). When Select is selected, the Volumeand Port display options can be used to display the available secondaryvolumes by port and by reserve attribute.

A plurality of buttons includes a Change button 1525, which replaces thesecondary volume for the selected primary as specified. A Set button1526 adds an additional secondary volume to the selected primary volumeas specified. An Omit button 1527 deletes the selected primaryvolume(s)/pair(s) from the list of pairs. An Undo button 1528 undoes theprevious Change or Set command. An Add button 1529 adds all pairs in thelist. An Exit button 1530 closes dialog panel 1520.

FIG. 11D illustrates a representative panel for displaying pair statusand history information in a particular embodiment according to thepresent invention. This diagram is merely an illustration and should notlimit the scope of the claims herein. One of ordinary skill in the artwould recognize other variations, modifications, and alternatives. FIG.11D illustrates status and history panel 1531 that can be opened byselecting Status&History button 1511 on screen 1500 of FIG. 11A. Panel1531 comprises a status display area 1532 and a history display area1533. Status display area 1532 can display information for a selectedport, for example. Representative pair information for pairs associatedwith the port can include a primary volume identifier, a secondaryvolume identifier, a pair status, a copy pace, a date and time that theinformation was acquired (panel opened/refreshed), and the like. ARefresh Status button 1534 updates the information in status displayarea 1532. A T-VOL Path button 1535 displays secondary volume SCSI pathsfor a selected pair or pairs. The History display area 1533 can displayhistory information for a selected port. Displayed pair activityinformation can be ordered according to date and time, primary volumeand secondary volume (CU: LDEV), as well as a volume code and a messagetype. A Date Time button 1536 sorts the list by date and time. An S-VOLbutton 1537 and T-VOL button 1538 can cause the list to be sorted byprimary volume or secondary volume, respectively. A Code button 1539 cancause the list to be sorted by code number, and a Message button 1540can cause the list to be sorted according to message type. A currentprimary volumes display area 1541 and current secondary volumes displayarea 1542 can display primary and secondary volumes currently used,respectively. A Refresh History button 1543 refreshes the pair historyinformation for the selected port. A Refresh All button 1544 updates allinformation on the Status & History panel. An Exit button 1545 exits theStatus & History panel and returns panel 1500.

FIG. 11E illustrates a representative panel for creating a copy of aprimary volume to a secondary volume in a particular embodimentaccording to the present invention. This diagram is merely anillustration and should not limit the scope of the claims herein. One ofordinary skill in the art would recognize other variations,modifications, and alternatives. FIG. 11E illustrates split volume panel1550 that can be opened by selecting Split pair button 1514 on screen1500 of FIG. 11A. Split volume pair panel 1550 provides the capabilityto copy data from a primary volume to secondary volumes for pairs in alist of pair(s) selected on panel 1500, showing the pair status and copypace for each pair. In a present embodiment, information can include aport, a TID, a LUN, a CU image, an LDEV ID, volume status and emulationtype. The secondary volume corresponding to each primary volume can bedisplayed once the primary volume has been selected by highlighting theprimary volume in display area 1551. The user can select a copy pace forcopying data from the primary to the secondary volume of the pairs usingcopy pace selection pull down 1553. Copy pace can be slow (one track ata time), medium (three tracks at a time) or fast (fifteen tracks at atime) in a representative embodiment.

Volume display area 1552 displays detailed volume information for aselected pair, including S-VOL ID (port, TID: LUN, CU: LDEV), storagecapacity and number of existing pairs. Users can change or add secondaryvolumes to a primary volume using this panel. A T-VOL display area 1554,within volume display area 1552, enables selection of a secondary volumeautomatically or manually. When Auto is selected, the SVP selects thesecondary by LDEV ID. When Select is selected, the volume and portdisplay options can be used to display the available secondary volumesby port and by reserve attribute.

A plurality of buttons includes a Change button 1555, which replaces thesecondary volume for the selected primary as specified. A Set button1556 adds an additional secondary volume to the selected primary volumeas specified. An Omit button 1557 deletes the selected primaryvolume(s)/pair(s) from the list of pairs. An Undo button 1558 undoes theprevious Change or Set command. A split button 1559 splits all pairs inthe list. An Exit button 1560 closes dialog panel 1551.

FIG. 11F illustrates a representative panel for providing the capabilityto re-synchronize data sets in a pair comprising a primary volume and asecondary volume in a particular embodiment according to the presentinvention. This diagram is merely an illustration and should not limitthe scope of the claims herein. One of ordinary skill in the art wouldrecognize other variations, modifications, and alternatives. FIG. 11Fillustrates resynchronize volume pair panel 1561. Panel 1561 comprisespair list 1562, listing pair(s) selected from panel 1500 and shows thepair status and copy pace for each pair. The user can select a copy pacefor copying data from the primary to the secondary volume of the pairsusing copy pace selection pull down 1563. Copy pace can be slow (onetrack at a time), medium (three tracks at a time) or fast (fifteentracks at a time) in a representative embodiment. A Re-sync button 1564starts the re-synchronize operation for the specified pair(s). An Exitbutton 1565 closes panel 1561.

FIG. 11G illustrates a representative panel for providing the capabilityto delete pairs comprising a primary volume and a secondary volume in aparticular embodiment according to the present invention. This diagramis merely an illustration and should not limit the scope of the claimsherein. One of ordinary skill in the art would recognize othervariations, modifications, and alternatives. FIG. 11G illustrates deletevolume pair panel 1571. Panel 1571 comprises pair list 1572, listingpair(s) selected from panel 1500 and shows the pair status for eachpair. A delete button 1574 deletes the specified pair(s). An Exit button1575 closes panel 1571.

CONCLUSION

Although the above has generally described the present inventionaccording to specific systems, the present invention has a much broaderrange of applicability. In particular, the present invention is notlimited to a particular kind of computing system, nor a particular typeof storage device. Thus, in some embodiments, the techniques of thepresent invention could provide the capability to make copies of dataresident on many different types of computer storage systems. Thespecific embodiments described herein are intended to be merelyillustrative and not limiting of the many embodiments, variations,modifications, and alternatives achievable by one of ordinary skill inthe art. Thus, it is intended that the foregoing description be giventhe broadest possible construction and be limited only by the followingclaims.

The preceding has been a description of the preferred embodiment of theinvention. It will be appreciated that deviations and modifications canbe made without departing from the scope of the invention, which isdefined by the appended claims.

What is claimed is:
 1. A computer system comprising a plurality ofstorage devices, a control unit operable to control said storagedevices, said control unit comprising at least one disk adapter and amemory operable to temporarily store data read from said storage deviceswithin said control unit, said storage devices addressable as at leastone of a plurality of logical volumes, including a first logical volumeand a second logical volume, said at least one disk adapter operativelydisposed to: create a copy of data in said specified first logicalvolume into said second logical volume; said creating a copy furthercomprising: copy data from said first logical volume to a first locationin said memory; copy said data from said first location in said memoryto a second location in said memory; change a logical volume number ofsaid first logical volume included in said data to a logical volumenumber of said second logical volume; copy said data from said secondlocation in said memory to said second logical volume.